<%@ include file="inc/header.jspf" %>

<form:form modelAttribute="category" method="post" action="modify">
	<fieldset>
		<form:errors path="*" />
	</fieldset>
	<fieldset>
		<form:label path="categoryID"><fmt:message key="ID"/></form:label>
		<form:input path="categoryID" readonly="true"/>
		<form:label path="name"><fmt:message key="category.name"/></form:label>
		<form:input path="name"/>
		<form:label path="priority"><fmt:message key="priority"/></form:label>
		<form:input path="priority"/>		
	</fieldset>
	
	<fieldset style="text-align: right;">
		<button type="submit" data-theme="b" data-inline="true" data-icon="forward"><fmt:message key="save"/></button>
		<button type="button" data-theme="b" data-inline="true" data-icon="back" onclick="history.go(-1);"><fmt:message key="cancel"/></button>
	</fieldset>
</form:form>	
	
<%@ include file="inc/footer.jspf" %>